package com.leo.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_account_item")
public class AccountItem {
	@TableId(value = "accountItemId", type = IdType.AUTO)
	private int accountItemId;
	
	@TableField("headerId")
	private int headerId;//表头Id
	
	@TableField("accountId")
	private int accountId;//账户Id
	
	@TableField("inOutItemId")
	private int inOutItemId;//收支项目Id
	
	@TableField("eachAmount")
	private double eachAmount;//单项金额
	
	@TableField("remark")
	private String remark;//单据备注
	
	@TableField("tenantId")
	private int tenantId;//租户id
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除

	public int getAccountItemId() {
		return accountItemId;
	}

	public void setAccountItemId(int accountItemId) {
		this.accountItemId = accountItemId;
	}

	public int getHeaderId() {
		return headerId;
	}

	public void setHeaderId(int headerId) {
		this.headerId = headerId;
	}

	public int getAccountId() {
		return accountId;
	}

	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}

	public int getInOutItemId() {
		return inOutItemId;
	}

	public void setInOutItemId(int inOutItemId) {
		this.inOutItemId = inOutItemId;
	}

	public double getEachAmount() {
		return eachAmount;
	}

	public void setEachAmount(double eachAmount) {
		this.eachAmount = eachAmount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}
	
	
}
